﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="KetQua.ascx.cs" Inherits="iShopping.Member.UserControl.KetQua" %>

<div id = "mainSearch"  style="overflow: hidden">

    <asp:DataList ID="DataList1" runat="server" HorizontalAlign="Left" 
    Font-Bold="False" Font-Italic="False" Font-Overline="False" 
    Font-Strikeout="False" Font-Underline="False"   >
    <FooterTemplate>
        <hr />
    </FooterTemplate>
    <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
        Font-Strikeout="False" Font-Underline="False" />
    <ItemTemplate>
    <div id="maincontentSearch"  style="height: 131px; ">
        <div id ="hinhanh" style="float: left;height: 131px;" >
            <asp:ImageButton ID="ImageButton2" runat="server" Width="140px" 
                ImageUrl='<%# Eval("HinhAnh") %>' Height="131px" 
                CommandArgument='<%# Eval("MaSanPham") %>' onclick="ImageButton2_Click"   />   
        </div>
        <div id ="ten" style="float: left; height: 131px; width:250px; ">
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/Member/ChiTietSanPham.aspx?pgn=1&id=" + Eval("MaSanPham") %>'  Text='<%# Eval("TenSanPham") %>'></asp:HyperLink>
        </div>
        <div id ="bieutuong" style="float: left;width:60px;">
            <img align="top" alt=""  src="../images/iconTrsXSmall.gif" 
                style="height: 31px; width: 60px" /></div>
        <div id ="gia" style="float: left; height: 131px; width:100px;">
            <asp:Label ID="Label5" runat="server" Text='<%# Eval("GiaKhoiDiem") %>'></asp:Label>
        </div>
        <div id ="time" style="float: left; height: 131px; width:100px;">
            <asp:Label ID="Label6" runat="server" Text='<%# Eval("NgayHetHan") %>'></asp:Label>
        </div>
    </div>
        
    </ItemTemplate>
    <SeparatorStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
        Font-Strikeout="False" Font-Underline="False" ForeColor="Blue" 
        HorizontalAlign="Center" VerticalAlign="Middle" />
    <SeparatorTemplate>
        <hr style="background-color: #FFCCFF" />
    </SeparatorTemplate>
</asp:DataList>
</div>
<!-- end result -->
<div id= "phantrang">
<table id="paging">    
 <tr>
       <td>
            <asp:LinkButton ID="lbTruoc" runat="server" onclick="LinkButton1_Click">Trước</asp:LinkButton>
        </td>
        <td>
            <asp:Panel ID="Panel1" runat="server">
    
    </asp:Panel></td>
        <td>
            <asp:LinkButton ID="lbSau" runat="server" onclick="LinkButton2_Click">Sau</asp:LinkButton>
        </td>
    </tr>
</table>
<div> 
    </div>
</div>
   
